#ifndef _meter_dragonball_
#define _meter_dragonball_

#include "meter.h"
#include "igslib_iserial_manager.h"
#include "protocol_DragonBall.h"

namespace igslib
{
    class meter_Grgn:public CMeter,public IGPIOMeter
    { 
        protected:
            static int ID;
			int LocID;
            char setup_ctrl[7]={0};
        public:
            meter_Grgn();
            ~meter_Grgn();
            void SetSPI(ISpi* value);
            int AddValue(const float& value);
            int SetDutyRange(const float& act,const float& nact) ;
            void SetHighActive(const bool& value) ;
            int SetGPIO(IGPIO* value) ;
    };
};

#endif
